namespace DesignPattern.Behavioral.Iterator
{
    public class IteratorPattern
    {
        public static void Test()
        {
            var days = new Days();
            var iterator = days.GetIterator();
            System.Console.WriteLine($"{iterator.First()}");
            System.Console.WriteLine($"{iterator.Next()}");
            System.Console.WriteLine($"{iterator.Next()}");
        }
    }
}